<!--{if $_G['group']['magicsdiscount'] || $_G['group']['maxmagicsweight']}-->
	<!--{if $_G['group']['maxmagicsweight']}-->
		<p class="tbmu">{lang magics_capacity}: $totalweight/{$_G['group']['maxmagicsweight']}</p>
	<!--{/if}-->
<!--{/if}-->
<!--{if $mymagiclist}-->
	<ul class="mtm ml mlm mgcl cl">
	<!--{loop $mymagiclist $key $mymagic}-->
		<li>
			<img src="{STATICURL}/image/magic/$mymagic[pic]" alt="$mymagic[name]" />
			<div class="magicdetail">
				<p><strong>$mymagic[name]</strong></p>
				<p class="xg1" title="$mymagic[description]">$mymagic[description]</p>
				<p>{lang magics_num}: $mymagic[num], {lang magics_user_totalnum}: $mymagic[weight]</p>
				<p>
					<!--{if $mymagic['useevent']}-->
						<a href="home.php?mod=magic&action=mybox&operation=use&magicid=$mymagic[magicid]" onclick="showWindow('magics', this.href, 'get', 0);return false;"><strong>{lang magics_operation_use}</strong></a><em class="pipe">|</em>
					<!--{/if}-->
					<!--{if $_G['group']['allowmagics'] > 1}-->
						<a href="home.php?mod=magic&action=mybox&operation=give&magicid=$mymagic[magicid]" onclick="showWindow('magics', this.href, 'get', 0);return false;">{lang magics_operation_present}</a><em class="pipe">|</em>
					<!--{/if}-->
					<!--{if $_G['setting']['magicdiscount']}-->
						<a href="home.php?mod=magic&action=mybox&operation=sell&magicid=$mymagic[magicid]" onclick="showWindow('magics', this.href, 'get', 0);return false;">{lang magics_operation_sell}</a>
					<!--{else}-->
						<a href="home.php?mod=magic&action=mybox&operation=drop&magicid=$mymagic[magicid]" onclick="showWindow('magics', this.href, 'get', 0);return false;">{lang magics_operation_drop}</a>
					<!--{/if}-->
				</p>
			</div>
		</li>
	<!--{/loop}-->
	</ul>
	<!--{if $multipage}--><div class="pgs cl">$multipage</div><!--{/if}-->
<!--{else}-->
	<p class="emp">{lang data_nonexistence}</p>
<!--{/if}-->
